const mongoose = require('mongoose');
const { mongoURL } = require('../config');

// 'mongodb://127.0.0.1:27017/weixin'

mongoose.connect(mongoURL, (err) => {
    if (err) throw err;
    console.log('db is connect success!');
});